import {createPinia, Pinia} from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist'
//初始化pinia
const store: Pinia = createPinia()
//数据持久化
store.use(piniaPluginPersist)
export default store